package com.mrjy.common.entity;
/**
 * 一级分销推荐码 实体类
 * @author csshui
 *
 */
public class ShareCodeInfo extends BaseEntity {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4301147384974243622L;
	/**
	 * 一级分销员id
	 */
	private Integer userId;
	/**
	 * 推荐码 
	 */
	private String shareCode;
	/**
	 * 分销员名称
	 */
	private String userName;
	/**
	 * 分销员手机号码
	 */
	private String mobilePhone;
	/**
	 * 分销员等级  如果为1，即为一级分销员，如果为0 则为二级分销员
	 */
	private Integer codeLevel;
	/**
	 * 是否接受邀请（只针对二级分销员）
	 */
	private Integer status;
	/**
	 * 查询统计一级或二级推荐推荐会员总数
	 */
	private Integer memberCount;
	
	
	//辅助字段，不存于数据库
	private String firstUserName;//一级分销员名称
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getShareCode() {
		return shareCode;
	}
	public void setShareCode(String shareCode) {
		this.shareCode = shareCode;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public Integer getCodeLevel() {
		return codeLevel;
	}
	public void setCodeLevel(Integer codeLevel) {
		this.codeLevel = codeLevel;
	}
	public Integer getMemberCount() {
		return memberCount;
	}
	public void setMemberCount(Integer memberCount) {
		this.memberCount = memberCount;
	}
	public String getFirstUserName() {
		return firstUserName;
	}
	public void setFirstUserName(String firstUserName) {
		this.firstUserName = firstUserName;
	}
	

}
